﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ANZ_AIM_GUI.Utils
{
    public sealed class AppParam
    {
        static AppParam instance = null;
        static readonly object padlock = new object();
        public static AppParam Instance
        {
            get
            {
                lock (padlock)
                {
                    if (instance == null)
                    {
                        instance = new AppParam();
                    }
                    return instance;
                }
            }
        }

        public bool LoggedIn { get; set; }
        public string UserId { get; set; }
        public string UserName { get; set; }
        public string Role { get; set; }
    }
}
